package com.zzyl.nursing.job;

import com.zzyl.nursing.service.IContractService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

//@Component("ContractJob ")
@Slf4j
public class ContractJob {

    private IContractService contractService;

    /**
     * 更新合同状态
     */
    public void updateContractStatusJob() {
        contractService.updateContractStatus();
        log.info("更新合同状态成功");
    }

}
